package com.shrct.businessprocess.purchase.impl;

import com.shrct.businessprocess.budget.RCCostBreakDown;
import com.shrct.businessprocess.purchase.RCCompanyQualityServiceBudget;
import com.shrct.businessprocess.purchase.RCCompanyQualityServiceBudgetDAO;
import com.shrct.businessprocess.purchase.impl.RCCompanyQualityServiceBudgetImpl;
import edu.fudan.mylang.pf.BaseDAOService;
import org.eclipse.xtext.xbase.lib.ObjectExtensions;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
import org.springframework.stereotype.Service;

@Service("com.shrct.businessprocess.purchase.RCCompanyQualityServiceBudgetDAO")
public class RCCompanyQualityServiceBudgetDAOImpl extends BaseDAOService<RCCompanyQualityServiceBudget> implements RCCompanyQualityServiceBudgetDAO {
  public RCCompanyQualityServiceBudget create(final RCCostBreakDown cbd, final Procedure1<? super RCCompanyQualityServiceBudget> initializer) {RCCompanyQualityServiceBudget rCCompanyQualityServiceBudget=RCCompanyQualityServiceBudgetImpl.create(cbd,getObjectFactory());
    final Procedure1<RCCompanyQualityServiceBudget> _function = new Procedure1<RCCompanyQualityServiceBudget>() {
        public void apply(final RCCompanyQualityServiceBudget it) {
          initializer.apply(it);
        }
      };
    RCCompanyQualityServiceBudget _doubleArrow = ObjectExtensions.<RCCompanyQualityServiceBudget>operator_doubleArrow(rCCompanyQualityServiceBudget, _function);
    return _doubleArrow;
  }
}
